package com.quxue.im.service;

import com.quxue.im.req.user.*;
import com.quxue.im.vo.AjaxResult;
import com.quxue.im.entity.ChatUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author jinken
 * @since 2023-11-10
 */
public interface IChatUserService extends IService<ChatUser> {

    AjaxResult login(LoginReq loginReq);

    ChatUser selectByPhone(String phone);

    AjaxResult getInfo();

    AjaxResult register(RegisterReq registerReq);

    AjaxResult forget(ForgetReq forgetReq);

    AjaxResult loginByCode(LoginByCodeReq loginReq);

    void refresh();

    AjaxResult updatePassword(PassReq passReq);
}
